package com.nmh.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nmh.entity.EnclosureAndPasture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Mapper
public interface EnclosureAndPastureMapper extends BaseMapper<EnclosureAndPasture> {

    IPage<EnclosureAndPasture> selectOrderPage(IPage<EnclosureAndPasture> page, @Param(Constants.WRAPPER) QueryWrapper<EnclosureAndPasture> wrapper);
    IPage<EnclosureAndPasture> slecOrdPgByT(IPage<EnclosureAndPasture> page, EnclosureAndPasture enclosureAndPasture);

}
